package com.trade.okxserver;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.trade.okxserver.api.PublicData;
import com.trade.okxserver.constants.UrlConstants;
import com.trade.okxserver.res.CoinType;
import com.trade.okxserver.res.PublicDataRes;
import com.trade.okxserver.res.Result;
import com.trade.okxserver.ws.SimpleWebSocketClient;
import lombok.SneakyThrows;
import org.java_websocket.drafts.Draft_6455;
import org.springframework.beans.BeansException;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;

import java.net.URI;
import java.util.ArrayList;
import java.util.List;

@SpringBootApplication
public class OkxServerApplication {

    @SneakyThrows
    public static void main(String[] args) {
        SpringApplication.run(OkxServerApplication.class, args);
    }

}
